<header class='s-header'>
    <div class='s-header-logo'>
        <a href="../index.html">
            <img src="./assets/image/topLogo.png" onerror="error(this,'../assets/image/topLogo.png')" alt="logo" width="100%">
        </a>
    </div>
    <div class='m-header-menu'>
        <div class='m-menu color-#999'>
            <ul>
                <li><a href='../index.html'>首页</a></li>
                <li><a href='courses-list.html'>全部课程</a></li>
                <li><a href='about-us.html'>关于我们</a></li>
            </ul>
        </div>
    </div>
    <div class='s-header-user'>
        <div class='s-logined'>
            <p class='s-search-font-color s-logined-menu pointer'>
                <span class='iconfont icon-yonghu'></span><span class='s-logined-user'>admin</span>
                <div class='s-logined-menu-item pointer'>
                    <span class='top-jiao'></span>
                    <p><a href='setting.html'>个人设置</a></p>
                    <p><a href='login.html'>退出</a></p>
                </div>
            </p>
        </div>
    </div>
</header>
<script>
    ;(function(){
        function error(e,url){
            e.src=url;
        }
        var show=false;
        $('.s-logined-menu').on('click',function(){
            show=!show;
            if(show){
                $('.s-logined-menu-item').show();
            }else{
                $('.s-logined-menu-item').hide();
            }
        })
    })()
</script>